/**
 * Copyright (c) 2016-2019 九点科技 All rights reserved.
 *
 * http://www.9dyun.cn
 *
 * 版权所有，侵权必究！
 */
package com.dian.modules.base.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dian.common.utils.PageUtils;
import com.dian.modules.base.entity.CustomerEntity;

import java.util.Map;

/**
 * 客户信息服务接口类
 *
 * @author xiaolai
 * @email xiaolai@9dyun.cn
 * @date 2019-05-22 01:47:19
 */
public interface CustomerService extends IService<CustomerEntity> {




    /**
     * 客户余额信息分页
     * @param params
     * @return
     */
     PageUtils balanceList(Map<String, Object> params);
    /**
    * 客户信息分页
    * @param params
    * @return
    */
    PageUtils queryPage(Map<String, Object> params);

    /**
     * 客户信息新增
     * @param baseCustomer
     * @return
     */
    boolean saveInfo(CustomerEntity baseCustomer);

    /**
     * 客户信息更新
     * @param baseCustomer
     * @return
     */
    boolean updateInfo(CustomerEntity baseCustomer);

    /**
    * 客户信息批量删除
    * @param idList
    * @return
    */
    boolean deleteInfo(Long[]  idList);
}

